<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- 引入vue -->
     <script src="js/vue.js"></script>
     <!-- 引入elementui -->
      <!-- 样式 -->
    <link rel="stylesheet" href="element-ui-2.13.0/lib//theme-chalk/index.css">   
       <!-- 组件库 -->
    <script src="element-ui-2.13.0/lib/index.js"></script>  
    <style>
        .el-row {
          margin-bottom: 20px;
          &:last-child {
            margin-bottom: 0;
          }
        }
        .el-col {
          border-radius: 4px;
        }
        .bg-purple-dark {
          background: #99a9bf;
        }
        .bg-purple {
          background: #d3dce6;
        }
        .bg-purple-light {
          background: #e5e9f2;
        }
        .grid-content {
          border-radius: 4px;
          min-height: 36px;
        }
        .row-bg {
          padding: 10px 0;
          background-color: #f9fafc;
        }
      </style>  
</head>
<body>
    <div id="app">
        <!-- 将一行分为24块   :span代表占的块数
            :gutter代表间隔的距离 
        -->
        <el-row :gutter="40">
            <el-col :span="1"><div class="grid-content bg-purple"></div></el-col>
            <el-col :span="1"><div class="grid-content bg-purple"></div></el-col>
            <el-col :span="21"><div class="grid-content bg-purple"></div></el-col>
            <el-col :span="1"><div class="grid-content bg-purple"></div></el-col>
          </el-row>
      </div>
</body>
</html>
<script>
    new Vue({
        el: '#app',
        data: {
           
        }
    })
</script>
